package com.kern.academic.controller;

import com.kern.academic.bean.ResponseResult;
import com.kern.academic.service.IRoleService;
import com.kern.academic.vo.RoleVo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * Created by caoshi at 20:55 2021-07-28
 */
@RestController
@RequestMapping("/role")
public class RoleController {

    private static Logger logger = LoggerFactory.getLogger(RoleController.class);

    @Autowired
    private IRoleService roleService;


    /**
     * 获取所有角色
     * @return
     */
    @RequestMapping("/listAllRoles")
    public ResponseResult listAllRoles() {
        List<RoleVo> roleVos = null;
        return ResponseResult.ok(roleVos);
    }








}
